package com.sly.demoim.constant;

/**
 * 消息已读状态
 *
 * @author SLY
 * @date 2022/8/21
 */
public enum MessageReadStatus {
    /** 消息已读 */
    READ("Y", "已读"),
    /** 消息未读 */
    UNREAD("N", "未读"),
    ;
    private final String code;
    private final String name;

    MessageReadStatus(String code, String name){
        this.code = code;
        this.name = name;
    }

    public String getCode(){
        return code;
    }

    public String getName(){
        return name;
    }
}
